import { get, getRestful, post, put, del } from '@/util/request'
const API_PATH = "/inner_api/front/comment"

/**
 * 获取评论分页数据
 * 
 * @param {*} data 
 * @returns 
 */
export function getCommentListByQuery (data) {
  return post(API_PATH + '/selectByPage', data)
}

/**
 * 新增评论
 * 
 * @param {*} form 
 * @returns 
 */
export function submitComment (form) {
  return post(API_PATH + '/create', form)
}
